<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setAttribute("basePath", basePath);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript">
	function loadContent(url) {
		$("#mainContent").attr("src", url);
	}
</script>
<div id="list_main">
	<div id="list_DH">
	  <div class="list_menu2">
	   <h3>首页扫描</h3>
	   <shiro:hasAnyRoles name="role_admin,role_scan_send">
	   	<h4 class="li_t"><a onclick="loadContent('${basePath }medical_record_scan/scan_send_page')">扫描交接</a></h4>
	   </shiro:hasAnyRoles>

	   <shiro:hasAnyRoles name="role_admin,role_scaner,role_paginationer">
	   	<h4 class="li_t"><a onclick="loadContent('${basePath }medical_record_scan/scan_upload')">扫描件上传</a></h4>
	   </shiro:hasAnyRoles>
	   <shiro:hasAnyRoles name="role_admin,role_scaner,role_paginationer">
	   	<h4 class="li_t"><a onclick="loadContent('${basePath }medical_record_scan/scan_image_pagination')">扫描件编页</a></h4>
	   </shiro:hasAnyRoles>
	  <shiro:hasAnyRoles name="role_admin,role_scaner,role_paginationer">
	   	<h4 class="li_t"><a onclick="loadContent('${basePath }medical_record_scan/third_scan_upload_page')">第三方扫描上传</a></h4>
	   </shiro:hasAnyRoles>
	   <shiro:hasAnyRoles name="role_admin,role_scaner,role_paginationer">
	   	<h4 class="li_t"><a onclick="loadContent('${basePath }medical_record_scan/third_scan_query_page')">第三方扫描检索</a></h4>
	   </shiro:hasAnyRoles>
	  </div>
	 </div>
	<div id="list_NR">
		<iframe id="mainContent" style="border: 0px; overflow-x: hidden; min-height: 500px;" width="100%"  scrolling="no" src="">

		</iframe>
	</div>
</div>
